```js{9,13}
import { Amplify } from 'aws-amplify';
import '@aws-amplify/ui-react/styles.css';
import {
Authenticator,
View,
Button,
useAuthenticator,
} from '@aws-amplify/ui-react';
import awsExports from './aws-exports';
Amplify.configure(awsExports);
export default function App() {
const components = {
SignIn: {
Footer() {
const { toResetPassword } = useAuthenticator();
return (
);
},
},
};
return (
{({ signOut, user }) => (
Hello {user.username}
)}
);
}
```